import Vue from "vue";
import VueRouter from "vue-router";
import Project from "@/components/Project";
import projectConfigDrawer from "@/components/ProjectConfigDrawer";
import Process from "@/components/Process";
import ExecutionManagement from "@/components/ExecutionManagement";

Vue.use(VueRouter);

const router = new VueRouter({
  routes: [
    {
      path: "/project",
      component: Project,
      children: [{ path: "", component: projectConfigDrawer }],
    },
    {
      path: "/process",
      component: Process,
    },
    {
      path: "/em",
      component: ExecutionManagement,
    },
  ],
});

export default router;
